<!-- eslint-disable vue/multi-word-component-names -->
<script setup lang="ts"></script>

<template>
  <div class="error-page">
    <div class="error-container">
      <h1 class="error-code">500</h1>
      <p class="error-message">服务器内部错误，请稍后再试。</p>
      <router-link to="/" class="home-link">返回首页</router-link>
    </div>
  </div>
</template>

<style scoped>
.error-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #89f7fe, #66a6ff);
  color: #ffffff;
  font-family: 'Arial', sans-serif;
}

.error-container {
  text-align: center;
  padding: 30px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.error-code {
  font-size: 96px;
  font-weight: bold;
  margin: 0;
}

.error-message {
  font-size: 24px;
  margin: 20px 0;
}

.home-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 18px;
  color: #ffffff;
  background-color: rgb(102, 166, 255);
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.home-link:hover {
  background-color: rgba(102, 166, 255, 0.6);
}
</style>
